QT       += core gui sql network serialport

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++1z

GEN_DIR=/home/td/zzz/Qt_Projects/moc/Mult
PROROOT=/home/td/robotics/weldroidProject
PROJ_HOME=/home/td/robotics
OPENCV_HOME=/home/developer/opencv320
BOOST_HOME=/home/developer/boost1640
MVCAM_COMMON_HOME=/opt/MVS
MODBUS_HOME=/home/developer/modbus
COMPILE_TOOL=5.14

MOC_DIR = $${GEN_DIR}/moc
UI_DIR = $${GEN_DIR}/ui
OBJECTS_DIR = $${GEN_DIR}/obj
DESTDIR = $${GEN_DIR}/app

INCLUDEPATH += $${OPENCV_HOME}/include \
               $${PROROOT}/include \
               $${MODBUS_HOME}/include \
               $${BOOST_HOME}/include \
               $${MODBUS_HOME}/include \
               $${MVCAM_COMMON_HOME}/include \
               $${PWD}/third/co\
               $${PWD}/third/Navi


LIBS += -L$${OPENCV_HOME}/lib \
        -L$${PROROOT}/lib \
        -L$${BOOST_HOME}/lib/debug \
        -L$${MODBUS_HOME}/lib \
        -L$${PWD}/third/Navi/libs/$${COMPILE_TOOL} \
        -ltools -lbasic -lgeometry -l3dvision -limage \
        -lbase -ldevice \
        -lopencv_imgcodecs -lopencv_imgproc -lopencv_core -lopencv_tracking \
        -latomic \
        #-lm3api \
        -lboost_filesystem -lboost_system -lboost_date_time \
        -lpcan \
        -lnlopt \
        -lmodbus -lsqlite3 \
        -lNaviButton\
        -L$${MVCAM_COMMON_HOME}/lib/64 -lGCBase_gcc421_v3_0 -lGenApi_gcc421_v3_0 -lXmlParser_gcc421_v3_0 -lMvCameraControl
        #-lusb-1.0
        #-L$${UNIT_PATH}/build/lib \



DEFINES += QT_DEPRECATED_WARNINGS


SOURCES += \
    DeviceControl.cpp \
    UI/AboutForm.cpp \
    UI/DebugForm.cpp \
    UI/DeviceLogin.cpp \
    UI/ParaView.cpp \
    UI/SeamWeldForm.cpp \
    UI/LocalPara.cpp \
    UI/child/PLCControl.cpp \
    UI/child/RobotSport.cpp \
    UI/child/ToolForm.cpp \
    UI/child/TubMove.cpp \
    base/Fast/config.cpp \
    base/fitCorrelation.cpp \
    base/instancecall.cpp \
    fit/sepmodel3d.cc \
    getuvonshell/getsbuva.cc \
    getuvonshell/getsbuve.cc \
    getuvonshell/getsbuvj.cc \
    getuvonshell/getsbuvm.cc \
    getuvonshell/getsbuvs.cc \
    getuvonshell/getsbuvvw.cc \
    getuvonshell/getsbuvw.cc \
    getuvonshell/getsbuvz.cc \
    getuvonshell/histimage.cc \
    getuvonshell/self_adaption.cpp \
    getuvonshell/utils.cc \
    main.cpp \
    mainwindow.cpp \
    src/DataProvider/App/SysMembers.cpp \
    src/DataProvider/Image/imgprovider.cpp \
    src/DataProvider/SQL/sqlProvider.cpp \
    src/Manager/AppManager.cpp \
    src/Manager/SingleApplication.cpp \
    src/Manager/TaskManager.cpp \
    src/Manager/ThreadPool.cpp \
    src/SoftWare/HTTP/HttpHelper.cpp \
    src/SoftWare/SQL/content/BoostSQL.cpp \
    src/SoftWare/SQL/content/QSQLControl.cpp \
    src/SoftWare/SQL/content/SQLBase.cpp \
    src/SoftWare/Thread/DequeThread.cpp \
    src/Widget/ListItem/ItemBody.cpp \
    src/Widget/ListItem/ItemDelegate.cpp \
    src/Widget/ListItem/ItemModel.cpp \
    src/Widget/QCvDisplay.cpp \
    src/Widget/QCvImageOperate.cpp \
    src/Widget/QLight.cpp \
    src/Widget/ZListStatusWidget.cpp \
    src/device/Machine/MachineHelper.cpp \
    src/device/PLC/PLCHelper.cpp \
    src/device/Robot/robothelper.cpp \
    src/Communication/UDPConnect/content/BoostUdp.cpp \
    src/Communication/UDPConnect/content/QUDPControl.cpp \
    src/Communication/UDPConnect/content/UDPBase.cpp \
    src/Communication/Serial/content/BoostControl.cpp \
    src/Communication/Serial/content/ModbusControl.cpp \
    src/Communication/Serial/content/QSerialControl.cpp \
    src/Communication/Serial/content/SerialBase.cpp \
    src/device/Camera/camerahelper.cpp \
    src/device/Laser/laserhelper.cpp \
    src/SoftWare/ReadWrite/content/RWFile.cpp \
    src/SoftWare/DateTime/DateTime.cpp \
    src/SoftWare/Log/content/LogBase.cpp \
    src/SoftWare/Log/LogHelper.cpp \
    src/device/modbusControl/mbControl.cpp \
    src/DataProvider/Test/MoniProvider.cpp \
    src/DataProvider/Calc/CalcProvider.cpp \
    UI/child/FrameCorrect.cpp \
    UI/child/CameraCorrect.cpp \
    UI/child/MachineCorrect.cpp \
    UI/child/SQLFuse.cpp \
    src/device/modbusControl/mbCommon.cpp

    #src/Communication/UDPConnect/UDPHelper.cpp \
    #src/Communication/Serial/SerialHelper.cpp \
    #src/SoftWare/SQL/SQLHelper.cpp \
    #src/SoftWare/ReadWrite/RWFileHelper.cpp \

HEADERS += \
    DeviceControl.h \
    MU_API.h \
    UI/AboutForm.h \
    UI/DebugForm.h \
    UI/DeviceLogin.h \
    UI/ParaView.h \
    UI/SeamWeldForm.h \
    UI/child/DebugPulic.h \
    UI/LocalPara.h \
    UI/child/PLCControl.h \
    UI/child/RobotSport.h \
    UI/child/ToolForm.h \
    UI/child/TubMove.h \
    base/Fast/config.h \
    base/fitCorrelation.h \
    base/instancecall.h \
    fit/sepmodel3d.h \
    getuvonshell/getsbuva.h \
    getuvonshell/histimage.h \
    getuvonshell/self_adaption.h \
    getuvonshell/utils.h \
    mainwindow.h \
    src/DataProvider/App/SysMembers.h \
    src/DataProvider/Image/imgprovider.h \
    src/DataProvider/SQL/sqlProvider.h \
    MU_ExpMessage.h \
    src/Manager/AppManager.h \
    src/Manager/SingleApplication.h \
    src/Manager/TaskManager.h \
    src/Manager/ThreadPool.h \
    src/SoftWare/HTTP/HttpHelper.h \
    src/SoftWare/SQL/SQLHelper.h \
    src/SoftWare/SQL/content/BoostSQL.h \
    src/SoftWare/SQL/content/QSQLControl.h \
    src/SoftWare/SQL/content/SQLBase.h \
    src/SoftWare/Thread/DequeThread.h \
    src/Widget/ListItem/ItemBody.h \
    src/Widget/ListItem/ItemData.h \
    src/Widget/ListItem/ItemDelegate.h \
    src/Widget/ListItem/ItemModel.h \
    src/Widget/QCvImageOperate.h \
    src/Widget/QLight.h \
    src/Widget/ZListStatusWidget.h \
    src/define/QtFcs.h \
    src/define/data_define.h \
    src/define/func_define.h \
    src/Widget/QCvDisplay.h \
    src/device/Machine/MachineHelper.h \
    src/device/PLC/PLCHelper.h \
    src/device/Robot/robothelper.h \
    src/device/modbusControl/mbControl.h \
    src/device/pubinc.h \
    src/Communication/UDPConnect/UDPHelper.h \
    src/Communication/UDPConnect/content/BoostUdp.h \
    src/Communication/UDPConnect/content/QUDPControl.h \
    src/Communication/UDPConnect/content/UDPBase.h \
    src/Communication/Serial/content/BoostControl.h \
    src/Communication/Serial/content/ModbusControl.h \
    src/Communication/Serial/content/QSerialControl.h \
    src/Communication/Serial/content/SerialBase.h \
    src/Communication/Serial/SerialHelper.h \
    src/device/Camera/camerahelper.h \
    src/device/Laser/laserhelper.h \
    src/SoftWare/ReadWrite/content/RWFile.h \
    src/SoftWare/ReadWrite/RWFileHelper.h \
    src/SoftWare/DateTime/DateTime.h \
    src/SoftWare/Log/content/LogBase.h \
    src/SoftWare/Log/LogHelper.h \
    src/pubimp.h \
    src/DataProvider/Test/MoniProvider.h \
    src/define/tupleeach.h \
    src/DataProvider/Calc/CalcProvider.h \
    UI/child/FrameCorrect.h \
    UI/child/CameraCorrect.h \
    UI/child/MachineCorrect.h \
    UI/child/SQLFuse.h \
    src/device/modbusControl/mbCommon.h


FORMS += \
    UI/AboutForm.ui \
    UI/DebugForm.ui \
    UI/DeviceLogin.ui \
    UI/ParaView.ui \
    UI/SeamWeldForm.ui \
    UI/LocalPara.ui \
    UI/child/PLCControl.ui \
    UI/child/RobotSport.ui \
    UI/child/ToolForm.ui \
    UI/child/TubMove.ui \
    mainwindow.ui \
    UI/child/FrameCorrect.ui \
    UI/child/CameraCorrect.ui \
    UI/child/MachineCorrect.ui \
    UI/child/SQLFuse.ui

qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    note/bugs \
    note/git.txt \
    note/ip.txt \
    note/project \
    note/robot.txt \
    note/axiss

RESOURCES += \
    res/res.qrc

VERSION = 0.0.0.1
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
